<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: sdo.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('sdo_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">sdo.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>CANopen SDO functions.  
<a href="#details">More...</a></p>

<p><a href="sdo_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a15cf95f0a90b02eea2cb78638fca60ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#a15cf95f0a90b02eea2cb78638fca60ef">ec_sdo_init</a> (<a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *sdo, <a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *slave, uint16_t index)</td></tr>
<tr class="memdesc:a15cf95f0a90b02eea2cb78638fca60ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a15cf95f0a90b02eea2cb78638fca60ef">More...</a><br /></td></tr>
<tr class="separator:a15cf95f0a90b02eea2cb78638fca60ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca357ab1de36e046e6255172760de6cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#aca357ab1de36e046e6255172760de6cb">ec_sdo_clear</a> (<a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *sdo)</td></tr>
<tr class="memdesc:aca357ab1de36e046e6255172760de6cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">SDO destructor.  <a href="#aca357ab1de36e046e6255172760de6cb">More...</a><br /></td></tr>
<tr class="separator:aca357ab1de36e046e6255172760de6cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af352865e2d5558a9df73336a386e6936"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structec__sdo__entry__t.html">ec_sdo_entry_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#af352865e2d5558a9df73336a386e6936">ec_sdo_get_entry</a> (<a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *sdo, uint8_t subindex)</td></tr>
<tr class="memdesc:af352865e2d5558a9df73336a386e6936"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an SDO entry from an SDO via its subindex.  <a href="#af352865e2d5558a9df73336a386e6936">More...</a><br /></td></tr>
<tr class="separator:af352865e2d5558a9df73336a386e6936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00027bedf282c987d166215fed28de72"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structec__sdo__entry__t.html">ec_sdo_entry_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#a00027bedf282c987d166215fed28de72">ec_sdo_get_entry_const</a> (const <a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *sdo, uint8_t subindex)</td></tr>
<tr class="memdesc:a00027bedf282c987d166215fed28de72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an SDO entry from an SDO via its subindex.  <a href="#a00027bedf282c987d166215fed28de72">More...</a><br /></td></tr>
<tr class="separator:a00027bedf282c987d166215fed28de72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>CANopen SDO functions. </p>

<p class="definition">Definition in file <a class="el" href="sdo_8c_source.html">sdo.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a15cf95f0a90b02eea2cb78638fca60ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15cf95f0a90b02eea2cb78638fca60ef">&#9670;&nbsp;</a></span>ec_sdo_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_sdo_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *&#160;</td>
          <td class="paramname"><em>sdo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="globals_8h.html#a8d9ffff7dbe1babaa4786a63f2860d57">ec_slave_t</a> *&#160;</td>
          <td class="paramname"><em>slave</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sdo</td><td>SDO. </td></tr>
    <tr><td class="paramname">slave</td><td>Parent slave. </td></tr>
    <tr><td class="paramname">index</td><td>SDO index. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="sdo_8c_source.html#l00047">47</a> of file <a class="el" href="sdo_8c_source.html">sdo.c</a>.</p>

</div>
</div>
<a id="aca357ab1de36e046e6255172760de6cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca357ab1de36e046e6255172760de6cb">&#9670;&nbsp;</a></span>ec_sdo_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_sdo_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *&#160;</td>
          <td class="paramname"><em>sdo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SDO destructor. </p>
<p>Clears and frees an SDO object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sdo</td><td>SDO. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="sdo_8c_source.html#l00067">67</a> of file <a class="el" href="sdo_8c_source.html">sdo.c</a>.</p>

</div>
</div>
<a id="af352865e2d5558a9df73336a386e6936"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af352865e2d5558a9df73336a386e6936">&#9670;&nbsp;</a></span>ec_sdo_get_entry()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structec__sdo__entry__t.html">ec_sdo_entry_t</a>* ec_sdo_get_entry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *&#160;</td>
          <td class="paramname"><em>sdo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>subindex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get an SDO entry from an SDO via its subindex. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">&gt;0</td><td>Pointer to the requested SDO entry. </td></tr>
    <tr><td class="paramname">NULL</td><td>SDO entry not found. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sdo</td><td>SDO. </td></tr>
    <tr><td class="paramname">subindex</td><td>Entry subindex. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="sdo_8c_source.html#l00091">91</a> of file <a class="el" href="sdo_8c_source.html">sdo.c</a>.</p>

</div>
</div>
<a id="a00027bedf282c987d166215fed28de72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00027bedf282c987d166215fed28de72">&#9670;&nbsp;</a></span>ec_sdo_get_entry_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structec__sdo__entry__t.html">ec_sdo_entry_t</a>* ec_sdo_get_entry_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="sdo__entry_8h.html#a8da2c87733474a881be045798f0f7652">ec_sdo_t</a> *&#160;</td>
          <td class="paramname"><em>sdo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>subindex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get an SDO entry from an SDO via its subindex. </p>
<p>const version.</p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">&gt;0</td><td>Pointer to the requested SDO entry. </td></tr>
    <tr><td class="paramname">NULL</td><td>SDO entry not found. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sdo</td><td>SDO. </td></tr>
    <tr><td class="paramname">subindex</td><td>Entry subindex. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="sdo_8c_source.html#l00116">116</a> of file <a class="el" href="sdo_8c_source.html">sdo.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="sdo_8c.html">sdo.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
